@info: #333;
@danger: #f40;
@success: green;
@warn: brown;

.center(@type:absolute){
    position: @type;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}